<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="description" content="">
        <meta name="author" content="">
        <link rel="icon" href="app/images/favicon.png">
        <title>天樂融</title>
        <link href="app/css/tlr.css" rel="stylesheet">
        <link href="libs/bootstrap/css/bootstrap.min.css" rel="stylesheet">
        <link href="libs/admin/css/sb-admin-2.css" rel="stylesheet">
        <script src="libs/jquery/jquery.min.js"></script>
        <script src="libs/bootstrap/js/bootstrap.min.js"></script>
        <script src="libs/angular/angular.min.js"></script>
        <script src="libs/angular/angular-route.min.js"></script>
        <script src="libs/angular/angular-resource.min.js"></script>
        <script src="libs/angular/angular-file-upload.min.js"></script>
        <script src="app/tlr.js"></script>
        <script src="app/mvp/service/tlr_service.js"></script>
        <script src="app/mvp/controller/main_ctrl.js"></script>
        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
            <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
            <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
    </head>
    <body class="tlr-login-bg" ng-app='tlr-app' ng-controller="LoginViewCtrl">
        <div class="container">
            <div class="row">
                <div class="col-md-4 col-md-offset-4">
                    <div class="login-panel panel panel-default">
                        <div class="panel-heading">
                            <h3 class="panel-title">用户登录</h3>
                        </div>
                        <div class="panel-body">
                            <form role="form">
                                <fieldset>
                                    <label style="color:red;">{{LoginMessage}}</label>
                                    <div class="form-group">
                                        <input ng-model="user.username"
                                               ng-keyup="Login_KeyUp($event)"
                                               class="form-control" placeholder="电子邮箱" name="username"
                                               type="text" autofocus>
                                    </div>
                                    <div class="form-group">
                                        <input ng-model="user.password"
                                               ng-keyup="Login_KeyUp($event)"
                                               class="form-control" placeholder="密码" name="password"
                                               type="password" value="">
                                    </div>
                                    <button type="button" class="btn btn-lg btn-primary btn-block" ng-click="dashboardLogin()">登录</button>
                                </fieldset>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </body>
</html>